/*
 * Copyright (C) 2011, EADS France
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 */
package xowl.interpreter;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

/**
 *
 * @author Laurent WOUTERS
 */
public class RuleSet {
    private xowl.lang.owl2.Ontology ontology;
    private List<xowl.lang.rules.Rule> rules;
    
    public xowl.lang.owl2.Ontology getOntology() { return ontology; }
    public Collection<xowl.lang.rules.Rule> getRules() { return rules; }
    
    public RuleSet(xowl.lang.owl2.Ontology onto, Collection<xowl.lang.rules.Rule> rules) {
        this.ontology = onto;
        this.rules = new ArrayList<xowl.lang.rules.Rule>(rules);
    }
}
